package com.cctc.rds.raft.core.rpc.election;

import com.cctc.rds.raft.core.node.NodeRole;

/**
 * Raft 竞选监听器。
 */
public interface ElectionListener {
    void startElection();

    void endElection(NodeRole curRole);
}
